import random
from core.agent import Agent

class Random(Agent):
    """Randomly invests or not with equal probability."""

    def decide(self, my_id, info):
        return random.random() < .5
